﻿@model EventPlanner.Models.Contacto

@{
    ViewBag.Title = "Delete";
}

<h2 style="font-family: 'Segoe Print'">Eliminar un contacto</h2>

<h3>Esta seguro que desea eliminar el contacto @Html.DisplayFor(model => model.Nombre) ?</h3>
<fieldset>
    <legend>Contacto</legend>    


    <div class="display-label"><b>@Html.LabelFor(model => model.Nombre):</b>
    @Html.DisplayFor(model => model.Nombre) 
    @if (Model.Nombre.IsEmpty()){ <a>S/D</a>}
    </div>    

    <div class="display-label"><b>@Html.LabelFor(model => model.Apellido):</b>
    @Html.DisplayFor(model => model.Apellido) 
    @if (Model.Apellido.IsEmpty()){ <a>S/D</a>}
    </div>    

    <div class="display-label"><b>@Html.LabelFor(model => model.Email):</b>
    @Html.DisplayFor(model => model.Email) 
    @if (Model.Email.IsEmpty()){ <a>S/D</a>}
    </div>    

    <div class="display-label"><b>@Html.LabelFor(model => model.Email2):</b>
    @Html.DisplayFor(model => model.Email2) 
    @if (Model.Email2.IsEmpty()){ <a>S/D</a>}
    </div>    
    
    <div class="display-label"><b>@Html.LabelFor(model => model.facebook):</b>
    @Html.DisplayFor(model => model.facebook) 
    @if (Model.facebook.IsEmpty()){ <a>S/D</a>}
    </div>    

    <div class="display-label"><b>@Html.LabelFor(model => model.Mobil):</b>
    @Html.DisplayFor(model => model.Mobil) 
    @if (Model.Mobil == null){ <a>S/D</a>}
    </div>    

    <div class="display-label"><b>@Html.LabelFor(model => model.Fijo):</b>
    @Html.DisplayFor(model => model.Fijo) 
    @if (Model.Fijo == null){ <a>S/D</a>}
    </div>    

   
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
